<%--
  Created by IntelliJ IDEA.
  User: jacksonmelius
  Date: 11/28/12
  Time: 5:28 PM
  To change this template use File | Settings | File Templates.
--%>
<g:setProvider library="jquery"/>
<div id = "searchResults">

    <table>
        <thead>
        <tr>

            <th>Game Name</th>
            <th>Date of Release</th>

        </tr>
        </thead>

        <tbody>
        <g:each in="${result}" status="i" var="Game">
            <tr>

                <td><g:link controller = "SiteUser" action="showGame" id="${Game.id}">${Game.name}</g:link></td>
                <td>${Game.releaseDate}</td>

            </tr>
        </g:each>
        </tbody>
    </table>
</div>